package com.ywu.common.constant;

/**
 * @ClassName CommonConstant
 * @Description 常量
 * @Author GroundDemo
 * @Date 2023/11/12 19:07
 * @Version 1.0
 **/
public class CommonConstant {
    public static final String SUCCESS_CODE = "200";

    public static final String SUCCESS_MESSAGE = "SUCCESS";

    public static final String ERROR_CODE = "400";

    public static final String ERROR_MESSAGE = "COMMON ERROR";

    public static final String SERVICE_ERROR_CODE = "500";

    public static final String SERVICE_ERROR_MESSAGE = "SERVICE ERROR";

    public static final String LOGIN_ERROR_CODE = "10000";

    public static final String LOGIN_ERROR_MESSAGE = "LOGIN ERROR";

    public static final String LOGIN_OUT_ERROR_CODE = "10001";

    public static final String LOGIN_OUT_ERROR_MESSAGE = "LOGOUT ERROR";

    public static final String USER_TOKEN_EXPIRE_ERROR = "4004";

    public static final String USER_TOKEN_EXPIRE_ERROR_MESSAGE = "USER TOKEN EXPIRE ERROR";

    public static final String USER_TOKEN_PARSE_ERROR = "4005";

    public static final String USER_TOKEN_PARSE_ERROR_MESSAGE = "USER TOKEN PARSE ERROR";

    public static final String USER_QUERY_INFO_ERROR = "4006";

    public static final String USER_QUERY_INFO_ERROR_MESSAGE = "USER QUERY INFO ERROR";

    public static final String USER_ROLE_QUERY_INFO_ERROR = "4007";

    public static final String USER_ROLE_QUERY_INFO_ERROR_MESSAGE = "USER ROLE QUERY INFO ERROR";

    public static final String USER_TENANT_QUERY_INFO_ERROR = "4008";

    public static final String USER_TENANT_QUERY_INFO_ERROR_MESSAGE = "USER TENANT QUERY INFO ERROR";

    public static final String USER_APP_QUERY_INFO_ERROR = "4009";

    public static final String USER_APP_QUERY_INFO_ERROR_MESSAGE = "USER APP QUERY INFO ERROR";

    public static final String API_PERMISSION_ERROR = "4010";

    public static final String API_PERMISSION_MESSAGE = "CURRENT USER HAS NOT PERMISSION";

    public static final String AUTH_TOKEN_EMPTY_ERROR = "4020";

    public static final String AUTH_TOKEN_EMPTY_MESSAGE = "AUTH TOKEN IS EMPTY";

    public static final String AUTH_TOKEN_DECRYPT_TOKEN_KEY_ERROR = "4021";

    public static final String AUTH_TOKEN_DECRYPT_TOKEN_KEY_MESSAGE = "AUTH TOKEN DECRYPT TOKEN KEY ERROR";

    public static final String AUTH_TOKEN_INFO_ERROR = "4022";

    public static final String AUTH_TOKEN_INFO_MESSAGE = "AUTH TOKEN INFO ERROR";

    public static final String AUTH_TOKEN_CHECK_SPI_ERROR = "4023";

    public static final String AUTH_TOKEN_CHECK_SPI_MESSAGE = "AUTH TOKEN CHECK SPI ERROR";

    public static final String AUTH_TOKEN_CHECK_RES_ERROR = "4024";

    public static final String AUTH_TOKEN_CHECK_RES_MESSAGE = "AUTH TOKEN CHECK RES ERROR";

    public static final String AUTH_TOKEN_CONTEXT_ENCRYPT_ERROR = "4025";

    public static final String AUTH_TOKEN_CONTEXT_ENCRYPT_MESSAGE = "AUTH TOKEN CONTEXT ENCRYPT ERROR";
}
